#ifndef __DATE_H
#define __DATE_H

#include <iostream>
using namespace std;

class Date
{
public:
	//enum eDays	{Sunday = 1, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday};
	enum eMonth {January = 1, February, March, April, May, June, July, August, September, October, November, December};
	static const char*  DaysDefinitions[];
	static const char*  MonthDefinitions[];
	
						Date(int day, eMonth month, int year, short hour, short minutes);
	friend	ostream&	operator<<(ostream& os, const Date& d);
			void		operator=(const Date& other) const;

	static Date*		Now();

private:
	int		day;
	eMonth	month;
	int		year;
	int		hour;
	int		minutes;

	static Date* nowDate;
};

#endif